script=$0
scriptDir=$(cd $(dirname $0); pwd)
cd ${scriptDir}
pid=`cat main.pid`
if [ ${pid} ]; then ps -f -p ${pid}; fi

